@model Adams.Admin.DataTransfer.JummahPrayers.CreateLocation.PageLoad
@{
    Layout = "~/Views/JummahPrayers/_Layout.cshtml";
}
<div class="content-box">
    <!-- Start Content Box -->
    <div class="content-box-header">
        <h3>
            Location Details</h3>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        <form action="" method="post">
            <p>
                <label>
                    Name</label>
                <input class="text-input small-input" type="text" id="Name" value="@Model.Location.Name" />
                <br />
                <small>the name of the Location</small>
            </p>
            <p>
                <label>
                    Street</label>
                <input class="text-input medium-input" type="text" id="Street" value="@Model.Location.Street" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    Street 2</label>
                <input class="text-input medium-input" type="text" id="Street2" value="@Model.Location.Street2" />
                <br />
                <small>Suite Number, Apartment Number, etc</small>
            </p>
            <p>
                <label>
                    City</label>
                <input class="text-input medium-input" type="text" id="City" value="@Model.Location.City" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    State</label>
                <input class="text-input small-input" type="text" id="State" value="@Model.Location.State" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    ZipCode</label>
                <input class="text-input small-input" type="text" id="ZipCode" value="@Model.Location.ZipCode" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    Latitude</label>
                <input class="text-input small-input" type="text" id="Latitude" value="@Model.Location.Latitude" />
                <input ID="loadgeo" type="button" value="load from address" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    Longitude</label>
                <input class="text-input small-input" type="text" id="Longitude" value="@Model.Location.Longitude" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    Display Order</label>
                <input class="text-input small-input" type="text" id="DisplayOrder" value="@Model.Location.DisplayOrder" />
                <br />
                <small></small>
            </p>
            <p>
                <label>
                    Friday Note</label>
                <input class="text-input medium-input" type="text" id="FridayNote" value="@Model.Location.FridayNote" />
                <br />
                <small>message displayed on Fridays</small>
            </p>
            <p>
                <label>
                    Full Details</label>
                <textarea class="text-input textarea wysiwyg" id="LongNote" cols="79" rows="15">@Model.Location.LongNote</textarea>
            </p>
            <p>
                <input class="button" id="submit" type="button" value="Submit" />
            </p>
        <div class="clear">
        </div>
        <!-- End .clear -->
        <input id="id" type="hidden" value="@Model.Location.ID" />
        </form>
    </div>
    <!-- End .content-box-content -->
</div>
<!-- End .content-box -->
@section Scripts {
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=@Adams.Shared.Config.GetAppSetting("GoogleMapAPIKey")"
        type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/JummahPrayers/createlocation.js")"></script>
}
